<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./assets/mui/css/mui.css">


    <!-- 引入字体图标 -->
    <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">
    <script src="./assets/mui/js/mui.js"></script>

    <!-- 移动端的jQuery -->
    <script src="./assets/zepto/zepto.min.js"></script>

    <script src="./assets/artTemplate/template-web.js"></script>
    <!-- 引入公共js -->
    <script src="./js/base.js"></script>

    <!-- 引入自己的js -->
    <script src="./js/search.js"></script>

    <!-- 自己的css -->
    <link rel="stylesheet" href="css/mybase.css">

    <link rel="stylesheet" href="./css/search.css">

</head>

<body>
    <!-- 主页面标题 -->
    <header class="mui-bar mui-bar-nav my-header">
        <a class="mui-icon  mui-icon mui-icon-search  mui-pull-right" herf='search.html'></a>
        <h1 class="mui-title">乐淘云购</h1>
    </header>


    <nav class="mui-bar mui-bar-tab footer">
        <a class="mui-tab-item mui-active" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="cart.html">
            <span class="mui-icon iconfont icon-gouwuche fa fa-shopping-cart"></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="user.html">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>

    <div class="mysearch">
        <div class="top  mui-clearfix">
            <input type="text" id="keyword" class='mui-pull-left' placeholder="请输入关键字">
            <button class='mui-pull-right' id="searchBtn">搜索</button>
        </div>

        <div class="center mui-clearfix">
            <span class='mui-pull-left'>搜索历史</span>
            <span class="mui-pull-right mui-icon mui-icon-trash " id='clearOld'>清空历史</span>
            <!-- 展示历史数据 -->
            <ul class="nui-table-view" id="ulBox">

            </ul>
        </div>


    </div>



    <script type="html/text" id="oldData">
        {{each rows vals i}}
        <li class="mui-table-view-cell">{{vals}}</li>
        {{/each}}
    </script>

</body>

</html>